package scaladuct.hint

import scaladuct.{ConfigPage, Property}

/**
 * <p>
 * Created by IntelliJ IDEA.
 * User: zslajchrt
 * Date: Sep 1, 2010
 * Time: 9:21:19 PM
 */

trait HasHints[H] {

  type HintType

  def hints(subject: String): List[Property[HintType]]

  def hintPage(hint: Property[HintType]): ConfigPage[H]
}

/**
 * A special hint for grouping other hints. It is an analogy to sub-menus.
 * @see GroupHint annotation (todo)
 */
trait HintsGroup